.SUFFIXES: .o .c .c++ .s

CC        = cc
CPP       = _C++ c++
LINK      = DRLink

ILIBS     = CathLibCPP:hoist.,CathLibCPP:,OS:,CLib:
STUBS     = CathLibCPP:o.Stubs
LLIBS     = CathLibCPP:o.CathLibCPP OSLib:o.OSLib ${STUBS}

CFLAGS    = -zo -fw -ff -throwback -I${ILIBS} -c -depend !Depend -DCATHXIS2 -D__swi=extern
CPPFLAGS  = ${CFLAGS} -C++ -DUSING_OSLIB
AFLAGS    = -desktop ^ -depend !Depend -throwback -nocache
LFLAGS    = -throwback -nounused -leaveweak -C++

ALL       = testbloat1 testbloat2 testbloat3 testbloat4 testbloat5 testbloat6 testbloat7 testbloat8

TARGETS   = ${ALL}

all: ${TARGETS}

testbloat1: o.testbloat1 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat1 ${LLIBS}

testbloat2: o.testbloat2 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat2 ${LLIBS}

testbloat3: o.testbloat3 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat3 ${LLIBS}

testbloat4: o.testbloat4 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat4 ${LLIBS}

testbloat5: o.testbloat5 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat5 ${LLIBS}

testbloat6: o.testbloat6 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat6 ${LLIBS}

testbloat7: o.testbloat7 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat7 ${LLIBS}

testbloat8: o.testbloat8 ${LLIBS}
   ${LINK} ${LFLAGS} -o $@ o.testbloat8 ${LLIBS}

.c.o:; ${CC} ${CFLAGS} -o $@ $<
.c++.o:; ${CPP} ${CPPFLAGS} -o $@ $<
.s.o:; objasm ${AFLAGS} $< $@

# Dynamic dependencies:
o.testbloat1:	c++.testbloat1
o.testbloat1:	c++.testbloat
o.testbloat1:	CathLibCPP:h.functional
o.testbloat1:	CathLibCPP:h.bool
o.testbloat1:	CathLibCPP:h.config
o.testbloat1:	CathLibCPP:h.map
o.testbloat1:	CathLibCPP:h.assocbase
o.testbloat1:	CathLibCPP:h.utility
o.testbloat1:	CathLibCPP:h.iterator
o.testbloat1:	CathLibCPP:h.iosfwd
o.testbloat1:	CathLibCPP:h.newcasts
o.testbloat1:	CathLibCPP:c++.map
o.testbloat1:	CathLibCPP:h.exception
o.testbloat1:	CathLibCPP:h.ptypeinfo
o.testbloat1:	CathLibCPP:hoist.h.hoistbp
o.testbloat1:	CathLibCPP:hoist.h.hoistbpp
o.testbloat1:	CathLibCPP:h.stringfwd
o.testbloat1:	CathLibCPP:hoist.h.hoistctdt
o.testbloat1:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat1:	CathLibCPP:h.stdexcept
o.testbloat1:	CathLibCPP:h.tpltutil
o.testbloat1:	CathLibCPP:hoist.c++.hoistbp
o.testbloat1:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat1:	CathLibCPP:h.memory
o.testbloat1:	CathLibCPP:h.new
o.testbloat2:	c++.testbloat2
o.testbloat2:	c++.testbloat
o.testbloat2:	CathLibCPP:h.functional
o.testbloat2:	CathLibCPP:h.bool
o.testbloat2:	CathLibCPP:h.config
o.testbloat2:	CathLibCPP:h.map
o.testbloat2:	CathLibCPP:h.assocbase
o.testbloat2:	CathLibCPP:h.utility
o.testbloat2:	CathLibCPP:h.iterator
o.testbloat2:	CathLibCPP:h.iosfwd
o.testbloat2:	CathLibCPP:h.newcasts
o.testbloat2:	CathLibCPP:c++.map
o.testbloat2:	CathLibCPP:h.exception
o.testbloat2:	CathLibCPP:h.ptypeinfo
o.testbloat2:	CathLibCPP:hoist.h.hoistbp
o.testbloat2:	CathLibCPP:hoist.h.hoistbpp
o.testbloat2:	CathLibCPP:h.stringfwd
o.testbloat2:	CathLibCPP:hoist.h.hoistctdt
o.testbloat2:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat2:	CathLibCPP:h.stdexcept
o.testbloat2:	CathLibCPP:h.tpltutil
o.testbloat2:	CathLibCPP:hoist.c++.hoistbp
o.testbloat2:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat2:	CathLibCPP:h.memory
o.testbloat2:	CathLibCPP:h.new
o.testbloat3:	c++.testbloat3
o.testbloat3:	c++.testbloat
o.testbloat3:	CathLibCPP:h.functional
o.testbloat3:	CathLibCPP:h.bool
o.testbloat3:	CathLibCPP:h.config
o.testbloat3:	CathLibCPP:h.map
o.testbloat3:	CathLibCPP:h.assocbase
o.testbloat3:	CathLibCPP:h.utility
o.testbloat3:	CathLibCPP:h.iterator
o.testbloat3:	CathLibCPP:h.iosfwd
o.testbloat3:	CathLibCPP:h.newcasts
o.testbloat3:	CathLibCPP:c++.map
o.testbloat3:	CathLibCPP:h.exception
o.testbloat3:	CathLibCPP:h.ptypeinfo
o.testbloat3:	CathLibCPP:hoist.h.hoistbp
o.testbloat3:	CathLibCPP:hoist.h.hoistbpp
o.testbloat3:	CathLibCPP:h.stringfwd
o.testbloat3:	CathLibCPP:hoist.h.hoistctdt
o.testbloat3:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat3:	CathLibCPP:h.stdexcept
o.testbloat3:	CathLibCPP:h.tpltutil
o.testbloat3:	CathLibCPP:hoist.c++.hoistbp
o.testbloat3:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat3:	CathLibCPP:h.memory
o.testbloat3:	CathLibCPP:h.new
o.testbloat4:	c++.testbloat4
o.testbloat4:	c++.testbloat
o.testbloat4:	CathLibCPP:h.functional
o.testbloat4:	CathLibCPP:h.bool
o.testbloat4:	CathLibCPP:h.config
o.testbloat4:	CathLibCPP:h.map
o.testbloat4:	CathLibCPP:h.assocbase
o.testbloat4:	CathLibCPP:h.utility
o.testbloat4:	CathLibCPP:h.iterator
o.testbloat4:	CathLibCPP:h.iosfwd
o.testbloat4:	CathLibCPP:h.newcasts
o.testbloat4:	CathLibCPP:c++.map
o.testbloat4:	CathLibCPP:h.exception
o.testbloat4:	CathLibCPP:h.ptypeinfo
o.testbloat4:	CathLibCPP:hoist.h.hoistbp
o.testbloat4:	CathLibCPP:hoist.h.hoistbpp
o.testbloat4:	CathLibCPP:h.stringfwd
o.testbloat4:	CathLibCPP:hoist.h.hoistctdt
o.testbloat4:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat4:	CathLibCPP:h.stdexcept
o.testbloat4:	CathLibCPP:h.tpltutil
o.testbloat4:	CathLibCPP:hoist.c++.hoistbp
o.testbloat4:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat4:	CathLibCPP:h.memory
o.testbloat4:	CathLibCPP:h.new
o.testbloat5:	c++.testbloat5
o.testbloat5:	c++.testbloat
o.testbloat5:	CathLibCPP:h.functional
o.testbloat5:	CathLibCPP:h.bool
o.testbloat5:	CathLibCPP:h.config
o.testbloat5:	CathLibCPP:h.map
o.testbloat5:	CathLibCPP:h.assocbase
o.testbloat5:	CathLibCPP:h.utility
o.testbloat5:	CathLibCPP:h.iterator
o.testbloat5:	CathLibCPP:h.iosfwd
o.testbloat5:	CathLibCPP:h.newcasts
o.testbloat5:	CathLibCPP:c++.map
o.testbloat5:	CathLibCPP:h.exception
o.testbloat5:	CathLibCPP:h.ptypeinfo
o.testbloat5:	CathLibCPP:hoist.h.hoistbp
o.testbloat5:	CathLibCPP:hoist.h.hoistbpp
o.testbloat5:	CathLibCPP:h.stringfwd
o.testbloat5:	CathLibCPP:hoist.h.hoistctdt
o.testbloat5:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat5:	CathLibCPP:h.stdexcept
o.testbloat5:	CathLibCPP:h.tpltutil
o.testbloat5:	CathLibCPP:hoist.c++.hoistbp
o.testbloat5:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat5:	CathLibCPP:h.memory
o.testbloat5:	CathLibCPP:h.new
o.testbloat6:	c++.testbloat6
o.testbloat6:	c++.testbloat
o.testbloat6:	CathLibCPP:h.functional
o.testbloat6:	CathLibCPP:h.bool
o.testbloat6:	CathLibCPP:h.config
o.testbloat6:	CathLibCPP:h.map
o.testbloat6:	CathLibCPP:h.assocbase
o.testbloat6:	CathLibCPP:h.utility
o.testbloat6:	CathLibCPP:h.iterator
o.testbloat6:	CathLibCPP:h.iosfwd
o.testbloat6:	CathLibCPP:h.newcasts
o.testbloat6:	CathLibCPP:c++.map
o.testbloat6:	CathLibCPP:h.exception
o.testbloat6:	CathLibCPP:h.ptypeinfo
o.testbloat6:	CathLibCPP:hoist.h.hoistbp
o.testbloat6:	CathLibCPP:hoist.h.hoistbpp
o.testbloat6:	CathLibCPP:h.stringfwd
o.testbloat6:	CathLibCPP:hoist.h.hoistctdt
o.testbloat6:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat6:	CathLibCPP:h.stdexcept
o.testbloat6:	CathLibCPP:h.tpltutil
o.testbloat6:	CathLibCPP:hoist.c++.hoistbp
o.testbloat6:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat6:	CathLibCPP:h.memory
o.testbloat6:	CathLibCPP:h.new
o.testbloat7:	c++.testbloat7
o.testbloat7:	c++.testbloat
o.testbloat7:	CathLibCPP:h.functional
o.testbloat7:	CathLibCPP:h.bool
o.testbloat7:	CathLibCPP:h.config
o.testbloat7:	CathLibCPP:h.map
o.testbloat7:	CathLibCPP:h.assocbase
o.testbloat7:	CathLibCPP:h.utility
o.testbloat7:	CathLibCPP:h.iterator
o.testbloat7:	CathLibCPP:h.iosfwd
o.testbloat7:	CathLibCPP:h.newcasts
o.testbloat7:	CathLibCPP:c++.map
o.testbloat7:	CathLibCPP:h.exception
o.testbloat7:	CathLibCPP:h.ptypeinfo
o.testbloat7:	CathLibCPP:hoist.h.hoistbp
o.testbloat7:	CathLibCPP:hoist.h.hoistbpp
o.testbloat7:	CathLibCPP:h.stringfwd
o.testbloat7:	CathLibCPP:hoist.h.hoistctdt
o.testbloat7:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat7:	CathLibCPP:h.stdexcept
o.testbloat7:	CathLibCPP:h.tpltutil
o.testbloat7:	CathLibCPP:hoist.c++.hoistbp
o.testbloat7:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat7:	CathLibCPP:h.memory
o.testbloat7:	CathLibCPP:h.new
o.testbloat8:	c++.testbloat8
o.testbloat8:	c++.testbloat
o.testbloat8:	CathLibCPP:h.functional
o.testbloat8:	CathLibCPP:h.bool
o.testbloat8:	CathLibCPP:h.config
o.testbloat8:	CathLibCPP:h.map
o.testbloat8:	CathLibCPP:h.assocbase
o.testbloat8:	CathLibCPP:h.utility
o.testbloat8:	CathLibCPP:h.iterator
o.testbloat8:	CathLibCPP:h.iosfwd
o.testbloat8:	CathLibCPP:h.newcasts
o.testbloat8:	CathLibCPP:c++.map
o.testbloat8:	CathLibCPP:h.exception
o.testbloat8:	CathLibCPP:h.ptypeinfo
o.testbloat8:	CathLibCPP:hoist.h.hoistbp
o.testbloat8:	CathLibCPP:hoist.h.hoistbpp
o.testbloat8:	CathLibCPP:h.stringfwd
o.testbloat8:	CathLibCPP:hoist.h.hoistctdt
o.testbloat8:	CathLibCPP:hoist.h.hoistctdtp
o.testbloat8:	CathLibCPP:h.stdexcept
o.testbloat8:	CathLibCPP:h.tpltutil
o.testbloat8:	CathLibCPP:hoist.c++.hoistbp
o.testbloat8:	CathLibCPP:hoist.c++.hoistctdt
o.testbloat8:	CathLibCPP:h.memory
o.testbloat8:	CathLibCPP:h.new
